3D Graphics Programming with QuickDraw 3D 1.5.4
Previous | QD3D Book | Overview | Chapter Contents | Next
QuickDraw 3D provides routines that you can use to create and manipulate pixmap markers. See "Markers" for the definition of a pixmap marker.
You can use the Q3PixmapMarker_New function to create a new pixmap marker.
TQ3GeometryObject Q3PixmapMarker_New (
const TQ3PixmapMarkerData *pixmapMarkerData);
You can use the Q3PixmapMarker_Submit function to submit an immediate pixmap marker for drawing, picking, bounding, or writing.
TQ3Status Q3PixmapMarker_Submit (
const TQ3PixmapMarkerData *pixmapMarkerData,
TQ3ViewObject view);
The Q3PixmapMarker_Submit function submits for drawing, picking, bounding, or writing the immediate pixmap marker whose position, shape, offset, and attribute set are specified by the pixmapMarkerData parameter. The pixmap marker is drawn, picked, bounded, or written according to the view characteristics specified in the view parameter.
You can use the Q3PixmapMarker_GetData function to get the data associated with a pixmap marker.
TQ3Status Q3PixmapMarker_GetData (
TQ3GeometryObject geometry,
TQ3PixmapMarkerData *pixmapMarkerData);
The Q3PixmapMarker_GetData function returns, through the pixmapMarkerData parameter, information about the pixmap marker specified by the geometry parameter. QuickDraw 3D allocates memory for the TQ3PixmapMarkerData structure internally; you must call Q3PixmapMarker_EmptyData to dispose of that memory.
You can use the Q3PixmapMarker_SetData function to set the data associated with a pixmap marker.
TQ3Status Q3PixmapMarker_SetData (
TQ3GeometryObject geometry,
const TQ3PixmapMarkerData *pixmapMarkerData);
You can use the Q3PixmapMarker_EmptyData function to release the memory occupied by the data structure returned by a previous call to Q3PixmapMarker_GetData .
TQ3Status Q3PixmapMarker_EmptyData (
TQ3PixmapMarkerData *pixmapMarkerData);
You can use the Q3PixmapMarker_GetPosition function to get the position of a pixmap marker.
TQ3Status Q3PixmapMarker_GetPosition (
TQ3GeometryObject pixmapMarker,
TQ3Point3D *position);
You can use the Q3PixmapMarker_SetPosition function to set the position of a pixmap marker.
TQ3Status Q3PixmapMarker_SetPosition (
TQ3GeometryObject pixmapMarker,
const TQ3Point3D *position);
You can use the Q3PixmapMarker_GetXOffset function to get the horizontal offset of a pixmap marker.
TQ3Status Q3PixmapMarker_GetXOffset (
TQ3GeometryObject pixmapMarker,
long *xOffset);
You can use the Q3PixmapMarker_SetXOffset function to set the horizontal offset of a pixmap marker.
TQ3Status Q3PixmapMarker_SetXOffset (
TQ3GeometryObject pixmapMarker,
long xOffset);
You can use the Q3PixmapMarker_GetYOffset function to get the vertical offset of a pixmap marker.
TQ3Status Q3PixmapMarker_GetYOffset (
TQ3GeometryObject pixmapMarker,
long *yOffset);
You can use the Q3PixmapMarker_SetYOffset function to set the vertical offset of a pixmap marker.
TQ3Status Q3PixmapMarker_SetYOffset (
TQ3GeometryObject pixmapMarker,
long yOffset);
You can use the Q3PixmapMarker_GetPixmap function to get the pixmap of a pixmap marker.
TQ3Status Q3PixmapMarker_GetPixmap (
TQ3GeometryObject pixmapMarker,
TQ3StoragePixmap *pixmap);
You can use the Q3PixmapMarker_SetPixmap function to set the pixmap of a pixmap marker.
TQ3Status Q3PixmapMarker_SetPixmap (
TQ3GeometryObject pixmapMarker,
const TQ3StoragePixmap *pixmap);
The Q3PixmapMarker_SetPixmap function sets the pixmap of the pixmap marker specified by the pixmapMarker parameter to that specified in the pixmap parameter. Q3PixmapMarker_SetPixmap copies the pixmap to internal QuickDraw 3D memory, so you can dispose of the specified pixmap after calling Q3PixmapMarker_SetPixmap .
Previous | QD3D Book | Overview | Chapter Contents | Next